package lz.com.service.impl;


import lz.com.domain.Tblconsumer;
import lz.com.mapper.TblconsumerMapper;
import lz.com.service.ConsumerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ConsumerServiceImpl implements ConsumerService {

    @Resource
    private TblconsumerMapper tblconsumerMapper;
    @Override
    public List<Tblconsumer> findJustList() {
        return tblconsumerMapper.findJustList();
    }

    @Override
    public Tblconsumer findJust(Integer id) {
        return tblconsumerMapper.findJust(id);
    }

    @Override
    public int insert(Tblconsumer just) {
        return 0;
    }
}
